package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipInventorySpareRelation;
import cc.comac.mom.bean.ResultDev;
import cc.comac.mom.entity.EquipInventorySpareRelationEntity;
import cc.comac.mom.util.ResultBean;
@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipInventorySpareRelationService {
																	
	@RequestMapping(value = "/p/cs/EquipInventorySpareRelationService/selectSpareDataByInventotyId",method = RequestMethod.POST)
	public ResultDev selectSpareDataBynventotyId (@RequestBody EquipInventorySpareRelation equipInventorySpareRelation );
	
	@RequestMapping(value = "/p/cs/EquipInventorySpareRelationService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete(@RequestBody List<EquipInventorySpareRelationEntity> list);

}
